package com.example.demo.service;

import com.example.demo.entity.Coach;
import com.example.demo.entity.CoachAccount;

import java.util.Collection;
import java.util.List;

public interface CoachService {
    Collection<Coach> getAllCoach();
    List<Coach> filterCoach(Coach coach);
    Coach updateCoach(Coach coach);
    Coach addCoach(Coach coach);
    Coach addCoach(Coach coach,Long coachID);
    Long deleteCoach(Long coachId);
    Coach getCoachByCoachId(Long coachId);
    CoachAccount getCoachAccountByCoachId(Long coachId);
    CoachAccount updateSelfAccount(CoachAccount coachAccount);
    List<Coach> findBySexOrAge(String sex, String age1, String age2);
}
